package Marks.Webshop.Service.Services;

import java.util.List;

import Marks.Webshop.Service.Bo.AbstractBo;

abstract public class AbstractService<T extends AbstractBo> {
	
	//AbstractDao dao;
	
	public abstract Integer save(T bo);

	public abstract void update(T bo) ;

	public abstract void delete(Integer pk);

	public abstract T findById(Integer pk);

	public abstract List<T> findAll();
	
	public abstract List<T> findAllLimit(int from, int to);
}
